package cn.hxt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//springBoot启动类
@SpringBootApplication
//注册到ereka中心
@EnableEurekaClient
//开启Mapper扫描
@MapperScan("cn.hxt.hrm.mapper")
public class SystemApp {

    public static void main(String[] args) {
        SpringApplication.run(SystemApp.class);
    }
}
